package cn.wolfcode.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("/Hello")
public class HelloController {
    @RequestMapping("/hello")
    public String hello(Model model){
        model.addAttribute("user","小伙子");
       return null;
    }
}
